package com.zzoranor.presentationserver;

import java.net.Socket;

/**
 * Holds info about the client, such as the socket object, 
 * some ID and whatnot. 
 * @author Tim
 *
 */
public class ClientInfo {
	
	private Socket socket;
	private ClientListener clientListener;
	private ClientSender clientSender;
		

	public ClientInfo() {
		
	}

	public void setup(Socket socket, ClientListener clientListener,
			ClientSender clientSender) {
		this.socket = socket;
		this.clientListener = clientListener;
		this.clientSender = clientSender;
				
	}

	public ClientSender getSender() {
		return clientSender;
	}

	public Socket getSocket() {
		return socket;
	}

	public ClientListener getListener() {
		return clientListener;
	}

}
